<template>

</template>

<script>
import { h } from "vue"

export default {
  name: "DynamicTag",

  props: {
    tag: {
      type: String,
      required: true
    },
    content: {
      type: String,
      required: true
    },
    attrs: {
      type: Object,
      default: () => ({})
    }
  },

  render() {
    debugger
    return h(this.tag, this.attrs, this.content)
  }
}
</script>
